package com.aspose.cells;

class zfs extends zbz {
   zfs() {
      this.c(4128);
      this.b(8);
      this.c = new byte[8];
      this.c[0] = 1;
      this.c[2] = 1;
      this.c[4] = 1;
      this.c[6] = 1;
   }

   void a(int var1, int var2) {
      this.c[6] = 0;
   }

   void a(Axis var1) {
      if (var1.getCrossType() == 1) {
         this.c[6] = (byte)(this.c[6] | 2);
      } else if (var1.getCrossType() == 2 && var1.getCategoryType() != 2) {
         System.arraycopy(com.aspose.cells.b.a.zc.a((int)var1.getCrossAt()), 0, this.c, 0, 2);
      }

      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.getTickLabelSpacing()), 0, this.c, 2, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.getTickMarkSpacing()), 0, this.c, 4, 2);
      if (var1.isPlotOrderReversed()) {
         this.c[6] = (byte)(this.c[6] | 4);
      }

      if (!var1.getAxisBetweenCategories()) {
         this.c[6] = (byte)(this.c[6] & 254);
      }

   }
}
